package org.ch00.test09.demo6;

import java.util.ArrayList;
import java.util.List;

/**
 * 大学
 *
 * @author ZQX
 * @date 2025-03-06
 */
public class University {
    /**
     * 一所大学包含有多个老师 - 1 : M
     */
    List<Teacher> teacherList = new ArrayList<>();

    public void add(Teacher teacher) {
        teacherList.add(teacher);
    }
}
